#set terminal post enhanced
set terminal postscript eps enhanced color
set grid
set xlabel "Minimum Probability Threshold for Rule Filtering"
set ylabel "Number of Tokens"
set ticslevel 0
set xr [0:1]
set xtics ( 0.02, 0.1, 0.2, 0.3, 0.5, 0.7, 1.0)
set ytics nomirror

set lmargin	10
set bmargin	10
set rmargin	10
set tmargin	10

set output "output/ins-tok-eval.ps"
set yr [20000:35000]
plot	\
	"ins-data/d1-f3-eval.data" using 1:7 title "Source (depth-1 freq>3 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f3-eval.data" using 1:7 title "Source (depth-2 freq>3 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f2-eval.data" using 1:7 title "Source (depth-2 freq>2 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f2-eval.data" using 1:8 title "Target"  with lines lw 5

set output "output/ins-tok-eval2.ps"
set yr [12000:22000]

plot	\
	"ins-data/d1-f3-eval2.data" using 1:7 title "Source (depth-1 freq>3 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f3-eval2.data" using 1:7 title "Source (depth-2 freq>3 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f2-eval2.data" using 1:7 title "Source (depth-2 freq>2 rules)" with linespoints lw 5 ,\
	"ins-data/d2-f2-eval2.data" using 1:8 title "Target"  with lines lw 5
